<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<p th:text="${msg}">Welcome to our grocery store!</p>
<h1 th:value="${msg}">哈哈</h1>
<a href="www.baidu.com" th:href="${links}">百度</a>
<a href="www.baidu.com" th:href="@{links}">百度</a>
<h1>insert</h1>
<div th:insert="footer::copy"></div>
<br>
<h1>replace</h1>
<span th:replace="footer::copy"></span>
<h1>include</h1>
<span th:include="footer::copy"></span>
<br>
<div>表达式内联</div>
<p>hello ,[[${msg}]]</p>

</body>
<th:block th:include="footer::passInfoJs"/>
<script th:inline="javascript">
console.log(new Date());
let constUrl = /*[[@{/index/ajaxtest}]]*/
    console.log(constUrl);

function copss() {
  console.log('被点击了||')
}
</script>
</html>
